<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MoveForum.ascx.cs" Inherits="forums_controls_administration_MoveForum" %>
<asp:GridView runat="server" ID="gridForums"
    AutoGenerateColumns="false"
    ShowHeader="false">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton runat="server" ID="btnUp"
                    Text="Up"
                    CommandArgument='<%# Eval("ID") %>'
                    OnCommand="MoveForumUp"/>
            </ItemTemplate>
            <ItemStyle Width="10%" />
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <%# Server.HtmlEncode(Eval("Name").ToString()) %>
            </ItemTemplate>
            <ItemStyle Width="80%" HorizontalAlign="center" />
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton runat="server" ID="btnDown"
                    Text="Down"
                    CommandArgument='<%# Eval("ID") %>'
                    OnCommand="MoveForumDown"/>
            </ItemTemplate>
            <ItemStyle Width="10%" />
        </asp:TemplateField>
    </Columns>
</asp:GridView>